from PyQt4.QtGui import QProgressBar
from phonik.utils import formatTime

class SeekBar(QProgressBar):


    def __init__(self, mw):
        QProgressBar.__init__(self)

    def text(self):
        return formatTime(self.value()) + ' / ' + formatTime(self.maximum())


